﻿using Newtonsoft.Json;
using Pay.TO;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Pay.DTO{
    /// <summary>
    /// 课程查询
    /// </summary>
    [JsonObject(MemberSerialization.OptOut)]
    public class CourseQuery :PageQuery{
        public string name { get; set; }
        public DateTime? start_time { get; set; }
        public DateTime? end_time { get; set; }
        public bool? is_enable { get; set; }
    }
    /// <summary>
    /// 购买课程查询
    /// </summary>
    [JsonObject(MemberSerialization.OptOut)]
    public class QuotaQuery : PageQuery {
        public string name { get; set; }
        public DateTime? start_time { get; set; }
        public DateTime? end_time { get; set; }
        public int? equota_record_audit { get; set; }

    }
    /// <summary>
    /// 升级查询
    /// </summary>
    [JsonObject(MemberSerialization.OptOut)]
    public class UpGradeQuery : PageQuery {
        public string name { get; set; }
        public DateTime? start_time { get; set; }
        public DateTime? end_time { get; set; }
        public int? e_up_grade_audit { get; set; }
        public long? user_id { get; set; }

    }
    /// <summary>
    /// 分佣
    /// </summary>
    [JsonObject(MemberSerialization.OptOut)]
    public class TokenBillQuery : PageQuery {
        [JsonIgnore]
        public long? merchant_id { get; set; }
        public long? city_merchant_id { get; set; }
        public string name { get; set; }
        public DateTime? start_time { get; set; }
        public DateTime? end_time { get; set; }
        public int? e_maid_aduit { get; set; }
    }
    /// <summary>
    /// 收益
    /// </summary>
    [JsonObject(MemberSerialization.OptOut)]
    public class TokenBillDetailQuery : PageQuery {
        [JsonIgnore]
        public long merchant_id { get; set; }
    }
    /// <summary>
    /// 用户审核
    /// </summary>
    public class UserAudit {
        public long id { get; set; }
        /// <summary>
        /// 用户等级id
        /// </summary>
        public UserType? user_type { get; set; }
    }
    public class UpGradeDetailQuery {
        public long id { get; set; }
    }
   
}
